<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<s:set name="ctx" value="#request.get('javax.servlet.forward.context_path')" scope="application"/>
<s:set name="json_datas" value="''"/>
<s:set name="json_split" value="','"/>
<s:iterator value="#request.datas" id="data" status="status">
	<s:set name="json_data" value="'{id:\"'+#data.dbid+'\",text:\"'+#data.address+'['+#data.service+']\",leaf:false}'" />
	<s:if test="#status.last">
		<s:set name="json_split" value="''"/>
	</s:if>
	<s:set name="json_datas" value="#json_datas + #json_data +#json_split" />
</s:iterator>
<s:set name="rootString" value="'[' + #json_datas + ']'" scope="request" />
<%=request.getAttribute("rootString")%>